package com.eairlv.share.auto.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author lv
 * @create 2018-07-23 11:26
 * @desc
 **/
@Data
@ApiModel("分片结果查询表单")
public class ShareTableResultForm {

    @ApiModelProperty("分片规则表ID")
    private Integer shareTableId;

    @ApiModelProperty("模板表表名")
    private String templateTableName;

    @ApiModelProperty("预先分表数，此字段传null则默认返回分片规则的预先分表数的表信息")
    private Integer shareTableAdvance;

    @ApiModelProperty("分表起始时间")
    private Long shareTableBegin;

    @ApiModelProperty("分表结束时间")
    private Long shareTableEnd;
}
